import React from 'react';
import ReactDom from 'react-dom';
import Confirm from './confirm';
import './style.css';
export default function(mags,btns){
    let div=document.createElement('div');
    document.body.appendChild(div);
    let confirmInst=ReactDom.render(<Confirm/>, div);
    confirmInst.setMages(mags,btns,div);
}
